package com.itheima.xiancheng.homework.homework2;

public class PrintNum implements Runnable{
    @Override
    public void run() {
        for (int i = 1; i <=100; i++) {
            System.out.println(Thread.currentThread().getName()+"-------"+i);
        }
    }
}
